package com.heifeng.cloudshelf.di.module;


import com.heifeng.cloudshelf.base.MyApp;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by codeest on 16/8/7.
 */

@Module
public class AppModule {
    public MyApp application;

    public AppModule(MyApp application) {
        this.application = application;
    }

    @Provides
    @Singleton
    MyApp provideAppContext() {
        return application;
    }

}
